# LTA : tu pourrais au moins prendre un parametre a la ligne de commande :-)
# gougnafier :)

workspaceDir=..


mvn install:install-file -DgroupId=org.apache.xmlbeans -DartifactId=xbeans -Dversion=2.5.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/xmlBeans/lib/xbean.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomXbeans.xml

mvn install:install-file -DgroupId=org.apache.xmlbeans -DartifactId=jsr-api -Dversion=2.5.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/xmlBeans/lib/jsr173_1.0_api.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomJsrAPI.xml
mvn install:install-file -DgroupId=org.apache.xmlbeans -DartifactId=resolver -Dversion=2.5.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/xmlBeans/lib/resolver.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomResolver.xml
mvn install:install-file -DgroupId=org.apache.xmlbeans -DartifactId=xbeans-xpath -Dversion=2.5.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/xmlBeans/lib/xbean_xpath.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomXbeansXPath.xml
mvn install:install-file -DgroupId=org.apache.xmlbeans -DartifactId=xbeans-qname -Dversion=2.5.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/xmlBeans/lib/xmlbeans-qname.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomXmlbeans-qname.xml
mvn install:install-file -DgroupId=org.apache.xmlbeans -DartifactId=xml-public -Dversion=2.5.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/xmlBeans/lib/xmlpublic.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomXmlPublic.xml

mvn install:install-file -DgroupId=org.agile4techos.nokiatest -DartifactId=questiontype -Dversion=1.0.0 -Dpackaging=jar -Dfile=$workspaceDir/QuestionsType/src/questionType-1.0.0.jar -DpomFile=$workspaceDir/QuestionsType/pom.xml

mvn install:install-file -DgroupId=org.mysql.connector -DartifactId=mysqlconnector -Dversion=5.0.8 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/mysql-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomMysqlConnector.xml
mvn install:install-file -DgroupId=org.apache.log4j -DartifactId=log4j -Dversion=1.2.16 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/apache-log4j-1.2.16/log4j-1.2.16.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomLog4j.xml
mvn install:install-file -DgroupId=org.hsqldb.db -DartifactId=hsqldb -Dversion=2.0.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/hsqldb/lib/hsqldb.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomHsqldb.xml
mvn install:install-file -DgroupId=org.hsqldb.db -DartifactId=sqltools -Dversion=2.0.0 -Dpackaging=jar -Dfile=$workspaceDir/ThirdParty/hsqldb/lib/sqltool.jar -DpomFile=$workspaceDir/ThirdParty/poms/pomSqlTools.xml


